package com.woniuxy.caradmin.entity.pojo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Unit implements Serializable {
    @ApiModelProperty(value = "往来单位id")
    private Integer id;
    @ApiModelProperty(value = "往来单位名称")
    private String name;
    @ApiModelProperty(value = "往来单位类型id")
    private Integer unittypeid;
    @ApiModelProperty(value = "联系电话")
    private String telephone;
    @ApiModelProperty(value = "联系人")
    private String contact;
    @ApiModelProperty(value = "备注")
    private String information;
    @ApiModelProperty(value = "是否启用：1为启用，2为停用")
    private Integer available;
    @ApiModelProperty(value = "往来单位类型，对应字典表数据")
    private Dictionary unittype;
}
